<?php
require '../../../zb_system/function/c_system_base.php';
require '../../../zb_system/function/c_system_admin.php';

$zbp->Load();
$action='root';
if (!$zbp->CheckRights($action)) {$zbp->ShowError(6);die();}
if (!$zbp->CheckPlugin('SearchKeywords')) {$zbp->ShowError(48);die();}
//global $zbp;
$where = array(array('=','t_ID',$_GET['id']));
$sql= $zbp->db->sql->Delete($SearchKeywords_Table,$where);
$zbp->db->Delete($sql);
$zbp->SetHint('good','删除成功');
Redirect('./main.php');